<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="/WEB-INF/c.tld"%>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="admin/Hui/lib/html5.js"></script>
<script type="text/javascript" src="admin/Hui/lib/respond.min.js"></script>
<script type="text/javascript" src="admin/Hui/lib/PIE_IE678.js"></script>

<![endif]-->
<link type="text/css" rel="stylesheet" href="admin/Hui/css/H-ui.css" />
<link type="text/css" rel="stylesheet"
	href="admin/Hui/css/H-ui.admin.css" />
<link type="text/css" rel="stylesheet"
	href="admin/Hui/font/font-awesome.min.css" />
<!--[if IE 7]>
<link href="admin/Hui/font/font-awesome-ie7.min.css" rel="stylesheet" type="text/css" />
<![endif]-->
<script type="text/javascript" src="admin/Hui/js/jquery-1.7.2.js"></script>
<script type="text/javascript" src="admin/Hui/lib/layer1.9/layer.js"></script>
<title>修改中心人员</title>
<style>
hr {
	height: 1px;
	background-color: #F0F0F0;
}
</style>

</head>
<body>
	<script>
		
	</script>
	<nav class="breadcrumb">
		<span><img src="admin/images/leftico01.png" /></span> 中心简介 <span
			class="c-gray en">&gt;</span> 人员管理 <span class="c-gray en">&gt;</span>修改人员
	</nav>
	<div class="pd-20">
		<div class="Huiform">
			<form action="centerPerson!add.action" method="post">
				<table class="table table-bg">
					<tbody>
						<tr>
							<th width="100" class="text-r"><span class="c-red">*</span>
								人员名称：</th>
							<td><input type="text" style="width: 500px"
								class="input-text" id="cp_name" name="cp_name" datatype="*"
								nullmsg="用户名不能为空" value="${cp_name }">
						</tr>

						<tr>
							<th width="100" class="text-r"><span class="c-red">*</span>
								所属部门：</th>
							<td><select name="cp_department" class="input-text"
								style="width: 500px;" datatype="*" nullmsg="请选择所属部门">
									<c:if test="${cp_department=='技术部'}">
										<option value="">== 请选择部门 ==</option>
										<option value="技术部" selected>技术部</option>
										<option value="运营部">运营部</option>
										<option value="研发部">研发部</option>
									</c:if>
									<c:if test="${cp_department=='运营部' }">
										<option value="">== 请选择部门 ==</option>
										<option value="技术部">技术部</option>
										<option value="运营部" selected>运营部</option>
										<option value="研发部">研发部</option>
									</c:if>
									<c:if test="${cp_department=='研发部' }">
										<option value="">== 请选择部门 ==</option>
										<option value="技术部">技术部</option>
										<option value="运营部">运营部</option>
										<option value="研发部" selected>研发部</option>
									</c:if>
							</select></td>
						</tr>

						<tr>
							<th width="100" class="text-r"><span class="c-red">*</span>
								所属级别：</th>
							<td>
								<%-- <s:select name="dic_id" list="dictionaryList" datatype="*" nullmsg="请选择所属级别"
									cssStyle="position:relative;top:-40px;width: 500px;"
									cssClass="input-text" listKey="dic_id" listValue="dic_name">
								</s:select> --%> <select class="input-text"
								style="width: 500px;">
									<c:forEach var="diclist" items="${dictionaryList }">
										<c:forEach var="dicSet" items="${dictionarySet }">
											<c:if test="${diclist.dic_id == dicSet.dic_id }">
												<option value="${diclist.dic_id }" selected>${diclist.dic_name }</option>
											</c:if>
											<c:if test="${diclist.dic_id != dicSet.dic_id }">
												<option value="${diclist.dic_id }">${diclist.dic_name }</option>
											</c:if>
										</c:forEach>

									</c:forEach>
							</select>

							</td>
						</tr>


						<tr>

							<th></th>
							<td><button class="btn btn-success radius" type="submit"
									id="insert">
									<i class="icon-ok"></i> 确定
								</button> <a href="javascript:history.go(-1);"
								class="btn btn-secondary radius" id="insert"> <i
									class="icon-ok"></i> 返回
							</a></td>
						</tr>
					</tbody>
				</table>
			</form>
		</div>
	</div>
	<%-- <script type="text/javascript" src="admin/Hui/lib/jquery.min.js"></script> --%>
	<script type="text/javascript" src="admin/Hui/lib/Validform_v5.3.2.js"></script>
	<script type="text/javascript" src="admin/Hui/js/H-ui.js"></script>
	<script type="text/javascript" src="admin/Hui/js/H-ui.admin.js"></script>
	<script type="text/javascript">
		$(".Huiform").Validform();
	</script>

</body>
</html>